package com.yutel.system.repository;

import java.util.ArrayList;
import java.util.List;

public class BusinessTableBean{
	private String tableId;
	private String tableName;
	private String tableBusinessName;
	private String colId;
	private String colName;
	private String colBusinessName;
	private String trId;
	private String colType;
	private List<ColumnsBean> columns = new ArrayList<ColumnsBean>();

	public String getTableId() {
		return tableId;
	}
	public void setTableId(String tableId) {
		if("".equals(tableId))
		{
			tableId = null;
		}
		this.tableId = tableId;
	}
	public String getTableName() {
		return tableName;
	}
	public void setColumns(List<ColumnsBean> columns) {
		this.columns = columns;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName.toUpperCase();
	}
	public String getTableBusinessName() {
		return tableBusinessName;
	}
	public void setTableBusinessName(String tableBusinessName) {
		this.tableBusinessName = tableBusinessName;
	}
	public String getColId() {
		return colId;
	}
	public void setColId(String colId) {
		this.colId = colId;
	}
	public String getColName() {
		return colName;
	}
	public void setColName(String colName) {
		this.colName = colName;
	}
	public String getColBusinessName() {
		return colBusinessName;
	}
	public void setColBusinessName(String colBusinessName) {
		this.colBusinessName = colBusinessName;
	}
	public String getTrId() {
		return trId;
	}
	public void setTrId(String trId) {
		this.trId = trId;
	}
	public String getColType() {
		return colType;
	}
	public void setColType(String colType) {
		this.colType = colType;
	}
	public List<ColumnsBean> getColumns() {
		return columns;
	}

	public void addColumn(ColumnsBean column)
	{
		columns.add(column);
	}

}